package com.mes.cloud.api.dto.request.role;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.DecimalMax;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Description TODO
 * @author: wxm
 * @date: 2019/8/9 10:15
 * @version: 1.0
 */
@Data
public class SysRoleEnablePageListRequest implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "当前页", required = true)
    @NotNull(message = "currentPage不能为空")
    private int currentPage;

    @ApiModelProperty(value = "每页条数", required = true)
    @DecimalMax(value = "1000", message = "currentPage不能超过1000")
    private int pageSize;

    @ApiModelProperty(value = "分类", required = false)
    private String categories;

    @ApiModelProperty(value = "搜索框角色名称/编码", required = false)
    private String queryString;

}